package com.collect.senegal.zhiScene.zhiPhoneReview.zhiFollow;

import android.content.Context;

import com.collect.senegal.zhiBase.BaseContract;
import com.collect.senegal.zhiBean.zhiReceive.ZHIRPhoneReviewListEntity;
import com.collect.senegal.zhiBean.zhiSend.ZHISPhoneReviewFollowEntity;
import com.collect.senegal.zhiBean.zhiSend.ZHISPhoneReviewMarkedEntity;

public class ZHIPhoneReviewFollowContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();

        /**
         * 获取案件列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetPhoneReviewList(ZHIRPhoneReviewListEntity zhirPhoneReviewListEntity);

        /**
         * 客服-添加标记返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onMarkPhoneReview();

    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取案件列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getPhoneReviewList(Context context, ZHISPhoneReviewFollowEntity zhisPhoneReviewFollowEntity, boolean showLoading);

        /**
         * 客服-添加标记
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void markPhoneReview(Context context, ZHISPhoneReviewMarkedEntity zhisPhoneReviewMarkedEntity);
    }
}
